package cn.broadsense.thrid.result;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 已加入分析点位列表
 *
 * @author: pengxin
 * @create: 2022-12-29 16:27
 * @Version 1.0
 **/
@NoArgsConstructor
@Data
public class FunctionChannelListResult  implements Serializable {

    private static final long serialVersionUID = -8934893762200259482L;


    private String channelCode;
    private String channelId;
    private String channelName;
    private String orgCode;
    private String orgName;
    private String gpsX;
    private String gpsY;
    private Integer deviceCategory;
    private Integer deviceType;
    private String channelType;
    private String cameraFunctions;
    private String deviceIp;
    private List<FunctionsResult> functions;

    @NoArgsConstructor
    @Data
    public static class FunctionsResult {
        private Integer addSource;
        private String analysisSource;
        private Integer intelligenceType;
        private Integer analysisType;
        private Integer isSync;
        private Integer analysisEnable;
        private String vendorCode;
        private String generalId;
        private Boolean personEnable;
        private Boolean vehicleEnale;
        private Boolean nonVehicleEnable;
        private Boolean faceEnable;
        private String analysisRules;
        private Integer type;
        private String errorCode;
        private String errorDesc;
        private String regionAnalysisRule;
    }
}
